package io.sage.modules.flow.dao;

import java.util.List;
import java.util.Map;
import io.sage.modules.readsenseapi.entity.BFlowDevice;
import io.sage.modules.readsenseapi.entity.BFlowDeviceExample;
import org.apache.ibatis.annotations.Param;

public interface BFlowDeviceMapper {

    int countByExample(BFlowDeviceExample example);

    int deleteByExample(BFlowDeviceExample example);

    int deleteByPrimaryKey(String id);

    int insert(BFlowDevice record);

    int insertSelective(BFlowDevice record);

    List<BFlowDevice> selectByExample(BFlowDeviceExample example);

    BFlowDevice selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BFlowDevice record, @Param("example") BFlowDeviceExample example);

    int updateByExample(@Param("record") BFlowDevice record, @Param("example") BFlowDeviceExample example);

    int updateByPrimaryKeySelective(BFlowDevice record);

    int updateByPrimaryKey(BFlowDevice record);

    List<BFlowDevice> selectFlowDeviceList(Map<String, Object> params);
}